//
//  JsonModel.swift
//  JSON
//
//  Created by LiynXu on 2016/9/30.
//  Copyright © 2016年 LiynXu. All rights reserved.
//

import Foundation

class JsonModel: NSObject {
    let showapi_res_code:NSNumber = 0
    let showapi_res_error:String = ""
    let showapi_res_body:BodyModel = BodyModel()
}

class BodyModel: NSObject {
    let ret_code:NSNumber = 0
    let pagebean:PagebeanModel = PagebeanModel()
}

class PagebeanModel: NSObject {
    let allPages:NSNumber = 0
    let currentPage:NSNumber = 0
    let allNum:NSNumber = 0
    let maxResult:NSNumber = 0
    let contentlist:Array<ContentModel>= Array<ContentModel>()

}
class ContentModel: NSObject {
   let  date = ""
   let  weixinNum = ""
    let url = ""
    let typeName = ""
    let id = ""
    let title = ""
    let contentImg = ""
    let userLogo = ""
    let userName = ""
    let read_num:NSNumber = 0
    let like_num:NSNumber = 0
    let typeId = ""
    let userLogo_code = ""
}






